Expand description

This crate generates Rust sources for use by cranelift_codegen.

Modules

  • Error returned during meta code-generation.
  • Define supported ISAs; includes ISA-specific instructions, encodings, registers, settings, etc.

Macros

  • A macro that converts boolean settings into predicates to look more natural.
  • A macro that joins boolean settings into a list (e.g. preset!(feature_a && feature_b)).

Functions

  • Generates all the Rust source files used in Cranelift from the meta-language.
  • Generate an ISA from an architecture string (e.g. “x86_64”).